#ifndef FILE_MANAGER_H
#define FILE_MANAGER_H

#include <QObject>
#include <QDir>
#include <QStringList>
#include <QFileInfo>
#include <QDebug>

class File_manager : public QObject, public QDir
{
    Q_OBJECT
public:
    explicit File_manager();
    Q_INVOKABLE bool Cd(QString path);
    Q_INVOKABLE void listing();
signals:
    void listingFini();

public slots:
    void shareVar();

private:
    QStringList list_fileName;
    QStringList list_fileSize;
    QStringList list_fileType;
    QStringList list_last;
};

#endif // FILE_MANAGER_H
